﻿#nullable enable

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// CII 与评级
/// </summary>
public sealed record CIIWithGradeDto
{
    public CIIWithGradeDto(float? cii, CIIGrade? grade)
    {
        CII = cii;
        Grade = grade;
    }

    /// <summary>
    /// CII
    /// </summary>
    public float? CII { get; init; }
    
    /// <summary>
    /// 评级
    /// </summary>
    public CIIGrade? Grade { get; init; }
}